package service;

import model.Detail;
import model.Order;
import util.OrderPager;
import util.Pager;

import java.util.List;

/**
 * Created by admin on 2016/8/15.
 */
public interface OrderService {
    public void newOrder(Order order);
    public void newDetail(Detail detail);
    public void saveOrder(Order order);
    public Order findById(int id);
    public void delete(Order order);
    public List findByPage(OrderPager orderPager);
    public int findMaxPages(OrderPager pager);
}
